import request from '@/utils/request'

// 查询APP用户提现记录列表
export function listCashing(query) {
  return request({
    url: '/app/cashing/list',
    method: 'get',
    params: query
  })
}

// 查询APP用户提现记录详细
export function getCashing(id) {
  return request({
    url: '/app/cashing/' + id,
    method: 'get'
  })
}

// 新增APP用户提现记录
export function addCashing(data) {
  return request({
    url: '/app/cashing',
    method: 'post',
    data: data
  })
}

// 修改APP用户提现记录
export function updateCashing(data) {
  return request({
    url: '/app/cashing',
    method: 'put',
    data: data
  })
}

// 删除APP用户提现记录
export function delCashing(id) {
  return request({
    url: '/app/cashing/' + id,
    method: 'delete'
  })
}

// 导出APP用户提现记录
export function exportCashing(query) {
  return request({
    url: '/app/cashing/export',
    method: 'get',
    params: query
  })
}